package com.cdn.auth.user;

import java.io.Serializable;

/**
 * 蔡定努
 * 2024/06/29 17:24
 */
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 7614558671743554888L;
    private  UserDetails userDetails;

    private Long expireAt;

    public UserInfo(UserDetails userDetails,Long expireAt) {
        this.expireAt = expireAt;
        this.userDetails = userDetails;
    }

    public UserInfo() {
    }

    public Long getExpireAt() {
        return expireAt;
    }

    public void setExpireAt(Long expireAt) {
        this.expireAt = expireAt;
    }

    public UserDetails getUserDetails() {
        return userDetails;
    }

    public void setUserDetails(UserDetails userDetails) {
        this.userDetails = userDetails;
    }
}
